extends "../qianwei-3/qianwei-3.gd"


var baseId = ""
var upText2 = "斩杀触发阈值+5%"
var upText1 = "无敌斩冷却时间-2秒"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("本回合内，每秒提高10点三维属性，上限200", "英勇奋进")

func _upS():
	._upS()
	var buff = hasBuff("b_qianwei")
	if buff == null:
		addBuff(b_qianwei.new())
	elif buff.att.atk < 200:
		buff.att.atk += 1
		buff.att.mgiAtk += 10
		buff.att.def += 10

class b_qianwei:
	extends "../../../../azurlane_ctrl/AzurBuff.gd"
	func _init():
		attInit()
		id = "b_qianwei"
		att.atk = 1
		att.mgiAtk = 1
		att.def = 1
		buffName = "英勇奋进"
		dispel = 2

func upgrade():
	.upgrade()
	if upgraded == 1:
		p2 = 0.3
	if upgraded == 2:
		p3 = 8